Basket Delete Complete
Kafka topic owned by the contributor team carrying Basket API's successful checkout cleanup confirmation for Finance order orchestration.
Purpose & Scope
This topic transports successful basket-cleanup confirmations published by Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs within the Shopping bounded context after a submitted basket is removed. Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs consumes these events to advance the post-checkout saga; confirmation here indicates basket cleanup only, not final order completion.
Channel Specification
| Property | Value |
|---|---|
| Bounded Context / Owner | ShoppingDomainv1.0.0ShoppingCoordinates the customer basket and pre-purchase checkout intent, from selecting books through handing an accepted purch...Ownercommerce-fulfillment-teamDiagramOpen docs / Commerce Fulfillment TeamTeamCommerce Fulfillment TeamStream-Aligned team owning customer shopping baskets, checkout coordination, order lifecycle, and financial saga orchest...Open docs |
| Channel Type | Topic |
| Address Pattern | bookworm.{env}.basket.delete-complete |
| Parameters | env (development, staging, production; default: development) |
| Protocol & Envelope Format | Kafka + CloudEvents JSON (application/json) |
| Partition Key & Ordering Guarantee | Keyed by orderId; preserves per-order event ordering within a partition |
| Delivery Semantics | At-least-once |
| Dead-Letter Channel | None (direct worker consumption by Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs) |
Messages & Participants
| Message | Type | Producer | Consumer(s) | Consumer Group |
|---|---|---|---|---|
| Basket deletion completedEventv1.0.0Basket deletion completedIndicates that Basket successfully deleted the submitted basket during checkout cleanup. Ownercommerce-fulfillment-teamSchemaDiagramOpen docs | Event | Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs | Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs | Finance orchestration worker |
Ordering, Retries & Failure Handling
- Partition-key ordering: Records are partitioned by
orderIdso cleanup confirmations for a given order are processed sequentially. - Transient retries: Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs applies bounded retry/backoff on transient storage or orchestration host faults.
- Poison & failure posture: Because Finance consumes this topic directly via orchestration workers, there is no dedicated service DLQ; persistent consumer failures surface in worker diagnostics and orchestration state.
- Consumer idempotency: Repeated checkout cleanup requests may emit duplicate confirmations; Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs ignores duplicates once the saga has recorded the outcome.
Channel Details & Visualization
Channel information
bookworm.{env}.basket.delete-complete- kafka
| Parameter | Description | Options | Default |
|---|---|---|---|
| env | BookWorm deployment environment. | development, staging, production | development |
Related Documentation
- Basket APIServicev1.0.0Basket APIInternal HTTP and gRPC service for managing customer-scoped shopping baskets, Catalog price enrichment, and post-checkou...PublishesGetBookGrpc, GetBooksGrpc +2SubscribesCreateBasket, UpdateBasket +4APIsOpenAPI, AsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs — Basket cleanup producer
- Order OrchestrationServicev1.0.0Order OrchestrationMessage-driven Finance workflow service that coordinates post-checkout basket cleanup and order notifications using Dura...PublishesPlaceOrderCommand, DeleteBasketCompleteCommand +3SubscribesUserCheckedOutIntegrationEvent, OrderStatusChangedToCompleteIntegrationEvent +3APIsAsyncAPIOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs — Finance saga consumer
- Basket Delete FailedChannelv1.0.0Basket Delete FailedKafka topic owned by the contributor team carrying Basket API's explicit checkout cleanup failure outcome for Finance co...Ownercommerce-fulfillment-teamOpen docs — Paired cleanup failure topic
- Successful Basket Cleanup Command ChannelChannelv1.0.0Successful Basket Cleanup Command ChannelKafka topic owned by the commerce-fulfillment-team carrying Finance's successful basket-cleanup command consumed by Orde...Ownercommerce-fulfillment-teamOpen docs — Downstream command issued to Ordering
- User CheckoutFlowv1.0.0User CheckoutAn authenticated customer checks out a persisted basket through Ordering API; Finance coordinates asynchronous basket cl...Ownercommerce-fulfillment-teamView flowOpen docs — End-to-end checkout workflow
- Contracts and MessagingCustom DocContracts and MessagingOwned APIs and events connect independently maintained BookWorm capabilities without sharing business state.Ownerplatform-engineering-teamOpen doc — Messaging standards and idempotency rules